package pojo.qo;

import pojo.entity.Good;

import java.util.List;

/**
 * 订单实体
 */
public class UserOrder {
    private Long orderId;
    private Long userId;
    private Long orderNumber;
    private Long address;
    private Double money;
    private int orderStatus;

    private Long shopId;
    private String shopName;
//    private Good good;
    //商品列表
    private List<Good> goodList;


    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(Long orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Long getAddress() {
        return address;
    }

    public void setAddress(Long address) {
        this.address = address;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public int getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(int orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }


    public UserOrder() {
    }

    public UserOrder(Long orderId, Long userId, Long orderNumber, Long address, Double money, int orderStatus, Long shopId, String shopName) {
        this.orderId = orderId;
        this.userId = userId;
        this.orderNumber = orderNumber;
        this.address = address;
        this.money = money;
        this.orderStatus = orderStatus;
        this.shopId = shopId;
        this.shopName = shopName;
    }
}
